/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package blogic;

import bentity.beLineaLog;
import dao.daoLog;
import java.util.ArrayList;

/**
 *
 * @author renzo
 */
public class blLog {
    public int registrarLog(int idUsuario, String cargo,String mensaje) throws Exception{
        return (new daoLog()).registrarLog(idUsuario, cargo, mensaje);
    }

    public ArrayList<beLineaLog> consultarLineasLog() throws Exception{
        return (new daoLog()).queryAllLogs();
    }
}
